

class Btset implements WordSet
{
	private BinarySearchTree arbol;
	
	public Btset()
	{

		arbol = new BinarySearchTree();
	}
	
	public Word get(Word word)
	{
		
		return (Word)arbol.find(word);
	
	}
	
	public void add(Word object)
	{
		
		arbol.insert(object);
		
		
	}
}